﻿using Microsoft.EntityFrameworkCore;
using WebApiOrm.Domain;

namespace WebApiOrm.Provider.EFCoreSqlite
{
    /// <summary>
    /// EFCore必须的db上下文设计
    /// </summary>
    public class EFCoreDbContext : DbContext
    {
        public DbSet<SysUser> SysUser { get; set; }

#nullable disable
        /// <summary>
        /// 数据库上下文
        /// </summary>
        /// <param name="options"></param>
        public EFCoreDbContext(DbContextOptions<EFCoreDbContext> options)
            : base(options)
        {
        }
#nullable enable
    }
}
